package aug09;

public class MethodEx2 {
	static int var1;
	
	public static void setInt(int var2){
//		this.var = var;
		var1 = var2;
	}
	public static int getInt(){
		return var1;
	}
	public static void main(String[] args){
//		MethodEx2 me2 = new MethodEx2();
//		me2.setInt(1000);
		setInt(1000);
		System.out.println("var = "+ getInt());
	}

}
